<script type="text/template" id="accessManage-template">
    <div id="accessManageBody" class="systemManage-body accessManage-body">
        <div class="data-manage-box">
            <div class="dataM-con accessManage-list"></div>
        </div>
    </div>
</script>
<script type="text/template" id="modifyAccess-template">
    <div class="modifyAccess-box clearfix">
        <div class="input-row">
            <div class="search-title" >姓名：</div>
            <div class=""><input id="v-name" type="text" value="<@=data.nameT@>" disabled></div>
        </div>
        <div class="input-row" >
            <div class="search-title" >部门：</div>
            <div class=""><input id="v-depart" type="text" value="<@=data.departT@>"" disabled></div>
        </div>
        <div class="input-row">
            <div class="search-title" >用户名：</div>
            <div class=""><input id="v-user" type="text" value="<@=data.userT@>"" disabled></div>
        </div>
        <div class="input-row">
            <div class="search-title">用户权限：</div>
            <div class="">
                <select id="v-access">
                    <@if(roles.length>0){@>
                        <option value="">请选择</option>
                        <@for(var i = 0;i<roles.length;i++){@>
                            <option value="<@=roles[i].id@>" <@if(roles[i].name ==data.accessT){@>selected="selected"<@}@>><@=roles[i].name@></option>
                        <@}@>
                    <@}else{@>
                        <option value="">暂无权限</option>
                    <@}@>
                </select>
            </div>
        </div>
    </div>
</script>
